DirectRest

Boolean

false

Purpose

Set the value of the DirectRest parameter to true if you want to run your REST application to use the HTTP/1.1 communication protocol, which means that it does not require IIS to enable communication with other HTTP‑compliant applications (for example, REST clients, web browsers, reverse proxies, web servers, or Transport Layer Security (TLS) termination servers). Direct REST applications can receive HTTP requests directly from REST clients.

When the value of the DirectRest parameter is false (or not present), it specifies that your REST applications will be run in legacy mode; that is, it will expect to be talking to IIS (and the jadehttp.dll ISAPI extension DLL) to receive HTTP requests from REST clients, not the REST client directly.

The DirectRest parameter affects all REST applications on the node. However, you can specify the setting in the format <application-name>_DirectRest to affect only that REST application; for example, to apply Direct REST to a REST application called MyApp, specify the following.

MyApp_DirectRest=true

If you want only the application called RestServer to run in Direct REST mode and all other REST applications on the same node to run in legacy mode, use the following Jade initialization file settings.

[WebOptions]
DirectRest=false
RestServer_DirectRest=true

The application name is case‑sensitive, and Jade does not support spaces in application names.

For details about defining a REST service application, see "Defining a REST Service Application" and "Running a REST Service Application in the Direct REST Mode", in Chapter 11 of the Developer's Reference.

2022.0.05 and higher